Peppers are that way because birds don’t taste the hotness and they spread seeds further than other animals. I guess humans spread seeds even further as you can get them shipped from another continent really easily. Although birds also fly those distances, they poop more frequently.
I meant the purposeful spread by agriculture, not the natural way.