"Allahu Akbar" is used as an expression of joy, sorrow.
It is used as a praise to the Almighty one. The One who created you, me and
everything else.
Rest what people have added is
ignorance, and
ignorance inculcates fear, and fear inculcates hatred.