I take the view that tree roosting is optimal for the reasons I discuss in the book, but I understand why people prefer to coop roost them. It just makes them fish in a barrel if a predator does raid them in the coop.
My “terrorfowl,” which are high percentage oriental gamefowl with only indirect bankvoid blood in them via the Liege, overwhelmingly prefer to coop roost when given the option. But it may also be nurture over nature. They pretty consistently tree roost when removed from my farm and distributed onto new properties.