Both of them got hot at the right time.
Yep, sometimes those stars and planets line up just right. ;-)