a person can have two different medical issues at the same time and they do not have to have a causative relationship. epididymitis does not cause headaches but you can certainly have a headache at the same time you are dealing with it.
can epididymitis cause headaches