First, bedlam. Bedlam is colloquial for Bethlehem (aka Bethlem), or specifically St. Mary of Bethlehem, a priory established in London in the 1200s, later given to the mayor to become an asylum for lunatics in 1547. It has no roots in Latin or Greek, but strictly a shortened form of Bethlehem, and that priory that became an insane asylum. Because of that, it evolved into meaning pandemonium, chaos, confusion., and uproar.
In 2017, it was another name for the U.S. White House.
And lunatics? Of course related to the moon, but directly from the Latin lunaticus meaning moon-struck. So is that why the moon is so often related to love; we all become lunatics as a result? Each of us will have to answer that on our own.