APU units tend not to do great in hot weather. It’s a reality and why when you are in Vegas or Phoenix they often ask for the shades to be lowered on the ground.
Regardless, you aren’t entitled to a cool aircraft on the ground although it normally isn’t an issue.
In the air - you don’t have to worry about AC.