Fans and Parents are tough on refs. Always have been, always will be. Refs should be paid better, 100%. TSSAA makes enough $ to properly train & pay referees; however, that cuts into their monstrous profits, so they would rather have mostly shotty refs.
I agree, people should keep their composure better at times, but sports is about competition, and to be super competitive comes with emotion. Refs realize that when they sign up. Regardless of how hard or stressful their job is, they're not allowed to let emotion or allegiances affect their decisions. I've coached, refereed, and been a fan, so I'm well aware of the stress & pressure, but that doesn't displace the fact that referees can't allow emotions to affect their decisions on the court.