Judaism does not prohibit writing the Name of God per se; it prohibits only erasing or defacing a Name of God. However, observant Jews avoid writing any Name of God casually because of the risk that the written Name might later be defaced, obliterated or destroyed accidentally or by one who does not know better. Observant Jews avoid writing a Name of God on web sites like this one because there is a risk that someone else will print it out and deface it. To avoid writing the Name, Orthodox Jews (and sometimes other denominations) substitute letters or syllables, for example, writing “G-d” instead of “God.”
It is worth emphasizing that not all Judaists see this custom as necessary; some think that this should only apply to the Hebrew word and not translations.
If they actually believed that, why’d they censor god like it’s a swear word?
(Source.)
It is worth emphasizing that not all Judaists see this custom as necessary; some think that this should only apply to the Hebrew word and not translations.