Army recruits are assigned randomly into specific sleeping quarters, where they do a lot of socializing during break time and at night. The political and religious attitudes of the recruits were surveyed before they were assigned sleeping quarters, and then again after several weeks of training. The generals found that the recruits’ political and religious ideas tended to form clusters based on sleeping quarters. Which of the following can best explain this situation?