The word "generally" is the important one in your sentence. Genes don't know what environment they will be born into, and so they include various strategies to cope with the unknown in the hope that some will survive.
Generally, humans are better suited to stable and safe environments. But it would be irresponsible of genes not to include, occasionally, humans who did better in chaos because chaos frequently happens.