If you are on PC you can follow this procedure:
The Xbox achievements you unlock are saved independently from your MSFS user data and are saved as a part of your overall Xbox Gamertag status, which is why you see them retained after an MSFS user data loss.