To much judgement involved. Different rules (unspoken) for different locations on the court. They allow a lot more contact when your back is turned than when you are facing up, more contact is allowed in the lane, etc. Defenders sometimes have a right to their space, most of the time they don't, etc.
Any game that is less than 5 points could have easily gone the other way with different timely calls. Game could easily be fixed.
I enjoy watching it when I am not vested in a team; however, it is the most frustrating sport to play or be invested in due to the power officials have. Non-calls, bad calls, either way calls, etc.
I play in a yearly league and honestly (we only have two refs); its more fun when I play pickup games/call your own foul. Officials have a very hard job. "Adults" calling their own fouls are more accurate (but is the reason for all the arguments and fights in pickup games).
If they called all the contact the same; there would either be 150 point or 20 point games in high school and they would last 4 hours.
I love the game but it is very flawed.