The genes are what controlls the plants ability (or lack of ability) to handle stress.

Google 'selective breeding', or click here for an overview of the subject.