With the Lelantine War raging for trade routes between city-states. The island of Samos lead by King Amphicrates (Samos still under royalty at this time) built up a naval power and mounted an expedition against Aegina. He must of had help given the distance and with the allied city of Corinth very close by, it is conjected that it may be that they offered them assistance on the raids. Corinth who would rise to be a major naval power in Greece would have loved to see the naval force of Aegina weakened.
Aegina may have belonged to the Eretrian league during the Lelantine War, but they are not named in any ancient text; but it would better explain the war with Samos, a leading member of the rival Chalcidian league in the reign of King Amphicrates.
It seems though that even though Samos did do great damage to the island of Aegina, the two sides exhausted themselves in the battles and skirmishes as the Samos fleet incurred considerable damage.
This battle would lead to what Herodotus calls 'the ancient grudge'  in many years to come when the island of Aegina strikes for what the island of Samos had done, at the Battle for Cydonia.
The timing is interesting as it was the beginning of the tyranny age, where kings were being overthrown by powerful tyrants. It may be that with the decimation of the kings fleet, it lead to Amphicrates being overthrown on Samos as well.