Well Farmer, it’s a very courageous first step your “friend” has made by asking this question. Tell your friend that it’s ok, gender is fluid and they can be whatever they want to be and no one can judge them for it. Plus they will find great support networks are available.
when your friend accepts this, you , or they, or them may find you are a lot less angry about life generally.