Is the dog wagging its tail or the tail wagging the dog

Cause and effect, is one thing controlling another or is vice versa. Similar to putting the cart before the horse. One way is intended, the other might be unusual or abnormal. Also a good analogy when making the point of whether the environment should define a person or if the person can define the environment.