A ICBM rocket launched from a submarine should leave the water as fast as possible. Therefore the rocket has to leave the water vertically.
The rocket is blown out of the submarine by using compressed air, it is ignited in air, not in the water. The rocket is stored in vertical position within the submarine. To be launched successfully, the rocket is launched from a very shallow depth, it should not be destroyed by the high pressure of deep water. A rocket resisting deeper water would be too heavy.
There is no engine driving the rocket under water, if the water is deeper, the rocket would lose too much speed in the water.
There are cruise missiles with wings launched horizontally, but they are not useful for orbital flight, especially those cruise missiles equipped with an air breathing turbo jet.