What is the cause of red spots on the glans?

Red spots on the glans may be caused by irritation of the inner prepuce, microbial infection, drug allergy, external friction (e.g. masturbation), etc.