It's insane. The only other reason I can think of for a ref to throw his hat is if someone went out of bounds on a play that's still active. Such as a pass play or punt etc...
They throw their hat sometimes if they catch multiple infractions but I don't know that that was the case on the play in question. Are we sure that it was a refs' hat that was thrown?