The Landlord Opened the Door

The Landlord Opened the Door

A boy knocked on a door. When the owner opened it, the boy thanked him and left. Why?