"Dive
While surfing, if you happen over a dark patch of water, you can dive below the surface and explore underwater. So far only the Hoenn region from Ruby/Sapphire/Emerald has areas where you can dive."
Unova has that option too.
Its on the field moves page