This is a handy Apple Mail feature. I don’t recall seeing it before is it a Ventura thing?

When you select your phone then the camera automatically opens on the phone to take a photo.

Joe Cotellese @JoeCotellese