My dad came in to say good morning to me and then he left but he left the door open and I was in a conference call so I had my headphones on and so I couldn't get up to close the door but it was distracting me
Just to add a bit of science in here. Someone closing or opening another door in the house can make another door close due to change in pressure. And any kind of draft can do it as well.