Yeah, if the ambient temp is a constant mid 90's and he doesn't have a spot somewhere to cool down, that's dangerous. Ball pythons being a tropical species have a higher tolerance for that than some others, but that's not safe at all.
Behavior-wise, I've heard of snakes becoming defensive in hot unsuitable temperatures, so that would also explain it.