Hex mesh can be applied only to rather simple parts. The rules are described here: Summary of Gmsh hex meshing rules
Some components can be partitioned to be able to mesh them with hexahedrons but in many cases it’s just not possible (at least without significant simplifications) and good tetrahedral mesh is sufficient.