I know basketball pretty well and I watch a lot of games. I am oftentimes exasperated by the refereeing, but at the same time I have a great deal of difficulty explaining what is and what is not a foul.
Bill Russell once said that basketball is a contact sport, and that football is a collision sport. But the question is always how much contact is allowed? Does it vary from game to game, or even half to half? Do referees consciously decide to call some games tight and some games loose?
Why is a touch foul called on the perimeter, but full nelsons in the post are ignored? Why do the better players get the benefit of the doubt? Why do the better actors get the benefit of the doubt?
Contributing to the problem is that offenses rely to a great extent on pick and rolls and other plays involving picks, and those are always a problem, many picks are moving to a greater or lesser extent.
Once you allow some contact but not all contact, you introduce an element of subjectivity and judgment that only the best referees can apply well on a regular basis. Add on top of that players who are bigger and more physical, and a game that continues to get faster, and you can see why referees oftentimes get it wrong.
I would like to see the game get less physical and that flagrant foul penalties be increased. But not holding my breath.