They are not just in the Old Testament. I'm convinced that Allah tempted Jesus in the wilderness for 40 days.
Interesting - Jesus was out in the wilderness - nomadic territory from which Mohammed would conjure up Allah hundreds of years later. Could be. Expect to me, Allah, Baal and all the rest are just various forms of Satan - whether made-up or very real. (Of course Satan (or whatever) tempting Jesus was very real, and the demons that Jesus cast out were very real as well.)
Satan tempted Jesus, and he wouldn’t bother to conceal himself as a false deity.
Allah is apparently based on a moon god. I’ve read that Mohammed traveled around looking for God, picked up all sorts of information about various deities where trade routes met, and decided to blend what he’d heard. Christianity was one of the beliefs he incorporated but changed to suit his own preferences. Supposedly he was a peaceful sort and possibly sincere in his search for God, but once he married a rich widow and was able to command a small army, he made power, wealth and sex his gods.