This is due to an infection or inflammation of the prostate gland. The main reasons for this are as follows:

Main causes of prostate inflammation
Bacterial Infection:
Bacterial Infection:
Bacteria can enter the prostate gland through the urethra. This causes an acute infection.

 

Chronic Infection:
Sometimes the infection does not completely go away and persists for a long time and causes occasional discomfort. The exact cause of this is often difficult to find.

Nerve Damage:
Nerve damage due to injuries or surgeries to the lower spine can cause swelling and pain in the pelvic area.

Stress:
Severe mental stress can cause tightness in the muscles of the prostate area, which can cause swelling or pain.

Urinary tract obstructions: Prostate enlargement (BPH), urinary stones, or other obstructions can cause urine to not flow properly, which can lead to infection and inflammation.