Because he kept on rubbing the wrong lamp.
He rubbed him the wrong way.
You rub them the wrong way
Aladdin the street wants a word with you!