i've had it happen with off brand cables used, power banks that were overly sensitive, poor connection, thermal issue, some or all the aforementioned in one.
I've yet to find a good, compact, & affordable 5,000 to 10,000 mAh bank that has a manual constant on switch.
__________________
-Oh Hey!