Situational homosexuality (dictionary)
From BoyWiki
Situational homosexuality - sexual contact between members of the same sex (regardless of age) due to absence of the opposite sex (e.g., military, prison, single sex boarding schools, Catholic priests, or other sex-segregated communities.) rather than predisposition or sexual orientation.
2 May also include sex play among children of the same sex as well as sexual experimentation in early adolescents into early adulthood.