The Gungans, while comfortable in aquatic environments, certainly appear to have evolved on the surface of the planet: they walk upright, breathe oxygen, and their army seems well adapted to surface combat as we see at the Battle of Naboo.

Given this, did they previously have settlements partially or entirely on the surface of Naboo, only to be driven entirely underwater after the [crash landing of the humans from Grizmallt][1] that later became known as the Naboo people? If so, how did a peaceful group of humans drive a "proud warrior species" with a large standing army from their native lands?


  [1]: https://starwars.fandom.com/wiki/Grizmallt