"Why is hyperventilating first bad?" - Should you hyperventilate and then hold your breath and any pressure is put on your lungs, YOU WILL PASS OUT! Don't do this!
Essentially hyperventilation reduces the blood's CO2 level. It becomes so low (while hyperventilating) that the body does not detect when the CO2 level subsequently rises to a dangerous level(while diving/holding your breath). The body fails to urge you to breathe fresh air and so you unwittingly pass out.
See the following two links for more info:
"The Choking Game: Self-induced hypocapnia": https://en.wikipedia.org/wiki/Choking_game#Self-induced_hypo...
Deep-water divers hyperventilate and then take a big breath immediately before they dive. Sometimes "shallow water blackout" (same as what happens to kids in the "choking game) occurs, endangering the diver:
DO NOT hyperventilate before holding your breath and exerting yourself! Reason is, if you hyperventilate, then take a big breath, hold it and exert yourself you are likely to pass out _instantly_ w/o warning! [This was something we learned as kids - do not do this! You _will_ pass out (and you also risk embolism/stroke).