thanks for using health care magic.
Everything is possible from just skin contusion
or infection of hair follicles to STD
In the case of infections symptoms are more
likely to persist and to be have been associated with
either itch or pains but for the case of syphilis
the bumps are painless.
You should get tested for syphilis and for herpes
out possible infections.
Best regards and hope this helps you