Another possibility is that the boss is doing this to win people's hearts, so that everyone can be kind to him and work hard for him.
No matter what the reason, lending money to employees is still a good boss. It's good to have such a boss. Some bosses are very stingy. I hope my answer has solved your doubts. Please accept it.