Firstly the USB-C power cable seems to be designed to have a very light grip on the port, so it slips out easily if anything snags on the cable. (If anything, the worry is that a slight tug can make it slip out unnoticed and stop charging).
Secondly, because it’s got plugs at both ends of the cable, it can pull out from the wall end just as easily as from the MacBook.