>This is the issue not his sexuality.
Brainless is totally right with this. The issue is over-arousal. When dogs are over-aroused, behaviour tips over in various ways. Some dogs decide to get very humpy and just hump everything. Other dogs run in zoomies around the house, leaping on and off furniture or - with other dogs - initiate out of control chase games (leaping on other dogs' heads - not noticed cues from other dogs).
And yet other breeds will tend to tip over into reactivity. This is very true of the terrier breeds, bred to react first and think later.
Attaining calm control around other dogs is key to reducing reactivity and this probably means having an excellent recall and not allowing him to play with dogs which are not suitable playmates and which you don't know appreciate a rough style of play.
You do yourself and your dog a disservice to allow him to continue to get these responses from other dogs, because as you've noticed, sooner or later he is just going to conclude that other dogs are a threat and he's going to attack first and then you will truly have a reactive dog.
Not all dogs need to play roughly and slather all over each other's necks - in fact, a lot less of that and a lot more control instilled by the humans and we'd all be better off...