In The Sorcerer's Stone, Harry's scar isn't burning because he's looking at Snape. It's burning because Voldemort — who's covered by Quirrell's turban — is facing him.