If you dove deeper than what your sub can handle then the pressure crushes the sub killing you. Did you get a chance to see what depth you were at before game ended?
You can use depth under keel command to ping the bottom and get a reading of how deep it is.