Many factors affect the alkaloid content of kratom and other plants, including growing conditions such as soil, sunlight, and environment.