It’s all about the breathing
Sure, yoga is known to be a spiritual practice to many, but the key and underlying principles to yoga actually teach slower breathing techniques and exercises, designed to relax your immediate mental and physical state. When scuba diving, these techniques, and exercises are essential in calming you before you hit the water, and once you are submerged, too. As you start to really hone in on these skills, your overall scuba diving experience will improve. You should start to notice your dives will last longer and generally become a lot more pleasant as your focus sharpens, soaking in much more of the dive. Committing to an ongoing yoga program will teach you to become aware of your irregular breathing patterns. This especially becomes useful when faced with unexpected challenges below the water’s surface. The point is to catch yourself doing this by becoming self-aware since breathing is something we do every day without even thinking. Being able to catch yourself breathing irregularly allows you to then be able to change your focus and concentrate on calming yourself by bringing your breaths to the centre of your attention again. This will, in turn, keep your mind alert and your body in a relaxed state to handle any sticky situations that may suddenly arise.
Read more about the similarities of diving and yoga here https://www.deeperblue.com/scuba-diving-yoga-similarities-benefits/