Many more states border the Atlantic ocean than the pacific ocean and what accounts for this?

Because some parts of the atlantic ocean is armed with the gulf of mexico