The housekeeping problem
Housekeeping is invisible by design: the room is serviced while the guest is out. Even a guest who wants to leave something has to have physical cash on them at the right moment, and increasingly they do not.
An in-room card removes the timing problem entirely. The guest can tip at any point during the stay, from the room, with the phone already in their hand.