By Referee – May 1, 2020

In most cases, it is not illegal to fail in the attempt to do something. Fighting is an exception.https://35a59231db1df9764d0ca87758572864.safeframe.googlesyndication.com/safeframe/1-0-38/html/container.html

Even if a punch fails to hit the mark (PlayPic A) or an attempted kick misses (PlayPic B), the player attempting to contact the opponent is guilty of fighting (NFHS 2-11; NCAA 2-32-1a). Fighting is a personal foul, as opposed to an unsportsmanlike act.
The penalty is 15 yards.

In NCAA, the player is ejected. Team B fouls include an automatic first down. Depending on when the act occurs, discipline may carry over to the next game. The player is disqualified in NFHS. League or state discipline may follow.