That is very interesting..
This is a complete guess, But I wonder if there is some sort of magnetic metal in your phone. So when you place it on the laptop, It interacts with the magnets to hold the lid shut, So the laptop thinks that the lid is shut?
It may be completely off, But that's the best idea I could come up with.
Solution: Don't put your cellphone on your laptop? 🙂
If it is something serious and you really want a professional answer, Give AppleCare a call and see what they say. I'd actually be very interested in hearing what they have to say about this weird phenomenon.
Message was edited by: Benguitar