What are the factors that contribute to the development of prostatitis and the enlargement of the prostate gland?