Can’t really tell how old they are from your pic, so heat could be an issue if their feathers haven’t fully come in yet. Heed the advice of those posting about heat
But also, it could be that they’re afraid of the dark. Chickens don’t see well at night and have to be trained to sleep in their coop. Ours threw huge fits when we tried to move them outside into their coop. Remember it’s all new to them, they’ve never seen their new home in dark. We used battery operated lights (the ones you can stick to the bottom of shelves) stuck to the walls near their roosting bar on a timer for a week or so when we moved them out. We’d dim the lights after putting the chicks on their roost, then put the lights on a timer to be dimmed until they were finally off over about a half hours time.