From the NFL Rulebook
Intentional Grounding of Forward Pass
1. Intentional grounding of a forward pass is a foul: loss of down and 10 yards from previous spot if passer is in the field of play or loss of down at the spot of the foul if it occurs more than 10 yards behind the line or safety if passer is in his own end zone when ball is released.
2. Intentional grounding will be called when a passer, facing an imminent loss of yardage due to pressure from the defense, throws a forward pass without a realistic chance of completion.
3. Intentional grounding will not be called when a passer, while out of the pocket and facing an imminent loss of yardage, throws a pass that lands at or beyond the line of scrimmage, even if no offensive player(s) have a realistic chance to catch the ball (including if the ball lands out of bounds over the sideline or end line).
There wasn't an "imminent loss of yardage due to pressure from the defense". For a change. Just a blown play by the Texans and a blown call by the ref. I'm hoping that this will be Tom White's last year officiating NFL games.