Must the leaders of a boy troop be men and all the leaders of a girl troop be women?

No. Adult leadership may be men, women, or both men and women together. All youth protection guidelines are to be in use no matter the make-up of the adult leadership.