Use the Sherlock Holmes approach. Eliminate all the other possibilities and what you have left is the culprit.
At the same time your connection is lost, run a few speedtests and pings to check your computer’s connectivity at that moment.
That only leaves the two endpoints as suspects: MSFS itself, or the servers it is connecting to.