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 and the elephant metaphor stems from Indian folklore.