Environmental factors are related to all kinds of behaviors: both problem behaviors and desired behaviors.
Getting in the car to go to school with a smile; without starting an argument about putting on a seat belt, does not just happen by chance. Neither does leaving clothes all over the floor.