It's actually not a transfer of energy. That terminology is incorrectly used many times. What happens is that the primary low is becoming more vertically stacked, and thus losing upper level support (differential vorticity and temperature advections). The best upper level dynamics are now out ahead of the primary low, and as it reaches the coast where a natural baroclinic zone is present between the warm ocean and cold land, a secondary low develops.