I can attest that a hammer-type glass-shattering tool is almost impossible to use underwater. There is simply too much resistance to get the proper sharp "tap" needed...
I think these hammers are intended to be used inside the vehicle, before the water gets so high that the hammer cannot be swung.