I think this is the rule. If the action is considered "unsportsmanlike conduct" meaning it is open to the interpretation of the ref. Still think the call was bs.
College football, governed by the NCAA also penalizes excessive celebrations with a 15 yard penalty. NCAA Football Rule 9-2, Article 1(a)(1)(d) prohibits "Any delayed, excessive, prolonged or choreographed act by which a player (or players) attempts to focus attention upon himself (or themselves)"; in addition, Rule 9-2, Article 1(a)(2) asserts that "After a score or any other play, the player in possession immediately must return the ball to an official or leave it near the dead-ball spot."[3] Additionally, if a player's actions is considered "unsportsmanlike conduct" the result is dead-ball foul; a "flagrant unsportsmanlike conduct" foul requires player ejection. If a players nonfootball-related act (e.g. taunting or cursing) causes an opponent to physically retaliate, it is considered fighting and both players are ejected.