Green’s Dictionary of Slang

stick up v.3

[late 19C] to hold one’s ground in an argument.

In phrases

stick up to (v.)

[mid-19C+] to challenge, to oppose, esp. when one is ostensibly at a disadvantage.