My seedlings do this everytime, even with bulbs closer, or different type of bulbs (probably my low temperatures who play a role)
I now anticipate that and don't fully fill containers, I always fill like 2/3 or 3/4 and add more substrate when seedlings strecth
Wait roots colonize all container and show to the top before transplanting for avoid any stem break while transplanting them