Two different events. You get praise for one, punishment for the other.
You don’t have to get punishment. She didn’t sneak on board; she asked and the driver made the decision and gave her a lift. She was doing the girl a favor.
Would anyone have been happier if the girl had been refused and forced to get somewhere herself while she was sick?