http://en.wikipedia.org/wiki/Piracy_in_Somalia
The UK's Department for International Development (DFID) issued a report in 2005 stating that, between 2003 and 2004, Somalia lost about $100 million in revenue due to illegal tuna and shrimp fishing in the country's exclusive economic zone by foreign trawlers.[6]
Additionally, impoverished fishermen in Kenya's Malindi area in the southeastern African Great Lakes region have reported their largest catches in forty years, catching hundreds of kilos of fish and earning fifty times the average daily wage as a result. They attribute the recent abundance and variety of marine stock to the pirates scaring away predatory foreign fishing trawlers, which have for decades deprived local dhows of a livelihood. According to marine biologists, indicators are that the local fishery is recovering because of the lack of commercial scale fishing.[113]
Piracy off the coast of Somalia also appears to have a positive impact on the problem of overfishing in Somali waters by foreign vessels. A comparison has been made with the situation in Tanzania further to the south, which is also affected by predatory fishing by foreign ships and generally lacks the means to effectively protect and regulate its territorial waters. There, catches have dropped to dramatically low levels, whereas in Somalia they have risen back to more acceptable levels since the beginning of the piracy.[114]
From what i understand the piracy started because local fisherman after the war had nobody protecting the local waters, and they decided to do it themselves.