Any of those things can be triggers, but everyone has different triggers for cold sores. Have you been stressed, sick with something else, really tired, etc?
Sometimes, you can get outbreaks for seemingly no reason at all.
A handjob is no risk for HIV.
There's no connection with herpes and HIV.
You have oral herpes type 1. You've had it for a long time. It has nothing to do with your handjob.