Chickens are simple minded ('bird brained' so to speak) creatures that live pretty low on the food chain.
Almost any change in their daily lives causes stress. Stressed birds often quit laying.
Try to avoid 'mind boggling' changes. Sudden changes of diet, housing, weather can push them 'over the edge'.
Even
good changes can put their minds into a state of confusion - time to shift into "defense" mode.
Defense mode is not conducive to egg laying.
It also alters the chemical balance in their guts - opens the door for health problems.