A List Of Cocktails : BLOODY MARY

I often wonder what the inspiration behind this cocktail from a religious context. In the bible, ‘The woman with the issue of blood’ wasn’t called Mary. And how did we miraculously get to a time where people became comfortable with a drink that sounds like either blasphemy or a woman who’s had her period? Also, will it make sense if the mocktail was called Godly Mary?