There is a kind of pseudo-rebelliousness when the ant mocks the elephant, particularly when the ant works for the elephant in some insect-sized capacity.
The ant mocking the elephant can be considered to be some type of rebellion.