I have this rigged mesh. The thigh is deformed as I expected:
Just for experiment, I paint some weight of thigh bone on waist:
But why does it deform like this? The thigh bone moves forwards, while the painted waist moves backwards.
I know I shouldn't paint weight like this. This is purely for studying how bone animation works.