Look, Irene instantly INSTANTLY realises that John is into Sherlock. It’s her job, after all, figuring out what people like. She purposely flirts with Sherlock TO MAKE JOHN JEALOUS AND PUSH HIM. She knows it will drive John mad: all the texting with that text alert noise, sleeping in Sherlock’s bed, wearing his robe = ALL THINGS JOHN CANNOT DO