The Jews and now Catholics (especially Benedict XVI) didn’t make up that rule about not pronouncing YHVH or YHWH to alienate you.
It was a very ancient name of God, going back to the oldest parts of the Bible (and its traditions).
The fact is, the name was used fairly often, in Genesis for example, but the suggestion of the commentaries is that God had not revealed the meaning of that Name.
After a while, when the wilderness Temple was being used, and maybe into the time of the other Temples, the name was used by the high priests, and then only on the Day of Atonement, when they entered the Holy of Holies.
It got so, even they forgot how to pronounce it. Recall, Hebrew does not have any vowels, as you probably know. Tetragrammaton means the four consonants. It would be profane not to pronounce the Holy Name correctly, so the Jews used to say Adonai instead.
Now, nobody knows what Adonai means exactly, although it is given the traditional translation of “the LORD” with Lord in all capitals to signify the tetragrammaton. It has other traditional translations, such as “the Almighty.” It may be derived from words that may mean “the rock” or “the mountain” in their literal meaning.
Some Jews do not even use the word Adonai,for the reason given above, and may use the word hashem (“name”) instead.
Baruch Hashem! Blessed be the Name of the Lord!
We don’t want to disobey the commandment to use the name of the Lord in vain.
Supposedly there are 72 names or titles of God in the OT. Maybe the Divine purpose is that “in the fullness of time” we would learn the only name we need to know and use, and that is the holy name of Jesus (“God is salvation”). We are told in the NT that there is only one name under heaven by which we are saved.