Random mutations led to evolution of pesticide resistance genes in bed bugs.
Explanation:
Random mutations in genome of bed bug imparted them the pesticide resistance. Since the bed bugs having the mutation of pesticide resistance were able to survive under presence of pesticides, this variation was favored by natural selection. The bugs with pesticide resistance transmitted this trait to their progeny. In time, the bed bug population consisted of most of the bugs having the pesticide resistance.