Your male dog knows that the female dog is in heat, so naturally he wants to be with her. Also, if they are usually together when she's not in heat, he misses being with her. Especially if they played and slept with each other, they are companions. You can put a dog diaper on your female...