In WebStorm settings go to Editor » Color & Fonts » General select Injected language fragment from the list and disable Background chackbox.
It is hard to answer why this is happening) - this is just preference. Perhaps someone prefers to see the entered code (code in a language other than the main one used in this file), clearly marked. For me, this is also a distraction, I just disconnected it from your question;)
source share