I've been officiating for 7 season now. I'll give my observations.
There is an official shortage. It hasn't hit as hard in TN (especially East TN) as it has Alot of places, but it's coming. Part of it is more are retiring than starting. And those few who are starting, even fewer are sticking with it. I could write an entire essay covering the reasons for this, but I'll have the main reason right here. Even since I started, it's been a trend across the board that:
A. Players are continually more disrespectful than ever, year after year.
B. Coaches are less knowledgeable about the game and the rules of the game and increasingly belligerent.
C. Parents/fans are completely out of control.
When I was in school 15ish years ago, you always had a couple old folks or an angry dad that hollered at and heckled officials, but there were only a handful. Coaches rarely ever raised their voices at officials. Sure they tried to work an official, but as a whole they were professional and respectful. And players NEVER talked backed or argued with officials. And on the off chance they did, they were yanked from the game by the coach.
Officials in this day in age have an increasingly hostile work environment, and it gets worse every year. That is why you can't get anyone new to get in officiating and actually stick with it. It's always the officials fault. If your kid loses, you tell them "it's OK, it's not your fault, the refs sucked." Doesn't have anything to do with the team shooting 21% from the floor or the fact that Junior was 3 of 10 from the free throw line. It's the refs' fault.
The fans now a days are in general uninformed and entitled. They think they know the rules, but in reality a large percentage of them don't even have a clue. They think cause they paid $5 for the ticket, they can do whatever they want. Well try this. Go to the grocery store, and watch the bag boy. When he makes what you perceive as a mistake while bagging, yell at the top of your lungs "You're an idiot! Better keep your day job! and see what happens. You will certainly be asked to leave at least, and possibly even have the law called on you for disorderly conduct. Fans pay for that ticket and think they can leave cultural norms of how to conduct themselves like a civilized human being at the door.
The reason fans are seeing a decline in the quality of officiating is because there are fewer quality officials, and the ones you have are the ones you have. And the reason there are fewer quality officials is due in large part to the fans. There's no way around that fact.