Why touchpad starts acting weird when connecting a cheap USB-C charger?
Not working is different from acting weird.  

If your touch pad stops working then it could be the voltage doesn't reach or over certain point like the original charger / supply.

If acting weird the voltage could be too high or too low or high EMI emitted from the charger because bad design or improper use of component.