And in range of all the other civilizations they attacked, which is why the only graphical evidence we have of them is Egyptian murals.
If this theory is right, the Sea People may have been pushed to raiding other shores as the Hittites expanded into their area OR simply started raiding for goodies, realized it was profitable, and brought on the first world wide coalition to take out a terrorist state.
Trade when you can; pillage when you can’t. Probably the story of seaborne commerce until the 1800 A.D. or so.