The song says that Bonnie lies over the ocean, but it also says that she lies over the sea. Based on these lyrics, where is Bonnie? In the song, the words "ocean" and "sea" are used interchangeably to mean any large body of salty water. But geographically speaking, an ocean is not the same thing as a sea.
The word "sea" describes a smaller body of water usually found on the edges of a much larger ocean: it is often separated from the ocean by groups of islands or by a strait, like the Mediterranean Sea. Some seas are found on the edges of larger seas: for example, the Mediterranean Sea has seven seas on its edges including the Aegean and the Adriatic.
There are also topographical features that distinguish oceans and seas. Seas are not as deep as oceans and can be bounded by features like the continental shelf. They are often partially surrounded by land.
So, to return to Bonnie, if our singer is in the United States, and Bonnie lies over the ocean, she could be across the Atlantic in Europe or Africa or across the Pacific in Asia or Australia. On the other hand, if Bonnie lies over the sea, she could be across the Caribbean Sea in South America or on any of the Caribbean islands, which makes it pretty hard to find Bonnie.