Are you on the 11th gen laptop and do you have the battery charge limiter set below 100%? If so, I’ve experienced the same problem and the only way I was able to make it stop happening was setting the charge limiter back to 100%. I contacted framework support but after a month they concluded:
This concludes that the Thunderbolt 4 on 11th Gen requires 100% battery in order to sustain the connection on your device.
Will there be anything else we can help you with?