Those doors have inbuilt venetian blinds, obviously it was designed that every character over hears the other.
How did Bajaj know that Anurag was planning his own demise.
Same way, he continuously saw Pre on the bed minus Bajaj
After all it was his room