Thanks for reaching out, jh2906! We can help.
You mentioned that you got two different results when swimming freestyle with your friend, with his Apple Watch showing more than twice the distance swam as yours.
Other than free swimming, have you noticed any inaccuracies when doing any other types of workout? One thing you can try is making sure that your Apple Watch is calibrated, using Calibrating your Apple Watch for improved Workout and Activity accuracy.
You mentioned that you are swimming in the ocean, which is a little harder to measure than in a swimming pool when it comes to confirming your numbers. It might also be a good idea to make sure your friend's Apple Watch is also calibrated, just in case your numbers are accurate and their results are not.
Give that a try, and see if there is any improvement.
Take care!