Improper nail trimming, wearing tight shoes, and toe injuries can contribute to ingrown toenails.