The other team had a better head to head record against you probably - goal difference is way down on the list of criteria to separate tied teams.