I agree that it's unfair to generalize by gender. There are good bosses and bad, both male & female.
However, many times, when someone assumes a position of authority that it not typically held by people of their gender or race, they can go overboard in making sure that they are taken seriously. They are not power-mad, but feel that they have a stigma that has to be compensated for. So, they micro-manage or go ballistic when something doesn't work out well.