The atmospheric air on the ocean surface gets heated up by the ocean water. Air when heated up, expands and becomes less dense. This less dense air rises up. The surrounding cool air, being heavier, rushes down to occupy the space. This creates an atmospheric disturbance resulting in small thunderstorms over the ocean. These small thunderstorms merge and cause a violent storm which forms cyclone.