While it is always tempting to theorize that it became popularized due to well known singers and cantors putting it to catchy tunes, it is really the other way around.
You’ve got a wall, a chair and a self and all that is all very concrete, occupying real, hi-definition space. Then you’ve got this infinite, invisible G‑d. And you’ve got to fit Him somewhere in there. But, of course, He doesn’t fit.