becoz it acts as a lubricant and makes door easy to push and pull
2
Bahar Kaur Chhatwal answered this
Oil is a lubricant. it helps to reduce friction by being applied over the irregularities of a surface. So, there is no interlocking of irregularities, so, friction reduces, and the door moves smoothly.