There are/were a few who experimented with same sex attraction/activity as part of replay. You have to remember that when in replay, they are back to their teens and teens tend to have best buds who are very close to them, they hang w/them, on the phone w/them and have each other's backs in the mix. There have been some who were very close to their friends and hung out w/them while in crisis so much so that their behavior was questionable to all who saw them. You have to remember that during the crisis, they are curious and will experiment because they are free to so, i.e., just like teens do.
Gerda, I may be wrong, but I think your h and his friend are just that...friends and he is helping him out of a so called bad situation. You do not have any idea what your h has told him. They do love to play the victim when it comes to getting others to help them. There is nothing you can do about your h's friend assisting him. If that friend is dumb enough to provide funds to your h for his divorce, then that is on him. You can't control what other people do or think.
Keep the focus on you and your children.
Sit quietly, the answers will reveal themselves when you least expect them to. The past is gone, the present is a gift and you need to focus on today, allow the future to reveal itself when it is ready.