Hello everyone. I had this problem today. Is there any logical explanation?

I have culminated with the same amount of points and goals as the opponent, and even with better goal difference. Even so I have finished in 2nd position.

Thanks in advance

Proof: https://gyazo.com/9523ce81e35cb50709240635712b764b