From Ocean to Cave

How did this once thriving ocean become one of the largest caves in North America?