Only a very small proportion of people who identify as trans nowadays have surgeries on their external genitals, though.
The vast majority of so-called "gender affirming surgeries" are on parts of the body that other people/the general public can easily see rather than on the "private parts" - double mastectomies to remove the breasts of females; surgeries to implant spherical plastic sacs of silcone goo or saline into the chest walls of males to give the visual appearance of very noticeable breasts; surgeries to "feminize" the faces, heads and necks of males by filing down the brow and jaw bones, reshaping the nose and the area underneath it, moving the hairline down and transplanting hair, adding cheek implants, shaving down the Adam's apple.
By far the single most common "gender affirming" surgery done nowadays and over the past decade is double mastectomy on teenage girls and young young women who "identify as" either trans boys/men or as non-binary.
Female people who take high doses of exogenous testosterone to masculinize their outer appearance will develop an enlarged clitoris, vaginal atrophy, and changes to the uterus and ovaries that can result in vaginal bleeding and uterine pain, especially after orgasm and when they enage in penetrative vaginal sex.
To mitigate this, and to stop ovulation and their menstrual periods, many females who identity as boys/men or as nonbinary will have their uterus, ovaries and Fallopian tubes removed. However, as a great many so-called "trans men" want to have children, quite a few will wait as long as possible to have their reproductive organs taken out.
As for males who "identify as" girls/women: 90-95% elect to keep their penises, testicles, prostates and the rest of their male reproductive and urinary anatomy intact. This is particularly the case for the cohort who've gone through male puberty of adolescence and have been able to experience the pleasures of male orgasm. Many of this group will say they want genital surgery in the future, but very few of them end up actually ever getting it.
This is why so much attention has been paid in recent years to the testosterone levels of the male teenagers and aduts competing in female sports. If athletes like CeCe Telfer, Lia Thomas, Juniper Eastwood, Meghan Youngren, Andraya Yearwood, Terry Miller, Sadie Schreiner didn't still have their testicles, they wouldn't need to take testosterone suppressant drugs and none of them would ever have been subject to NCAA, USATF or WA rules requiring medical testing to check if the drugs were actually working as well as claimed.
Nowadays, the only group of trans-identified males who are much more likely than not to have genital surgeries that entail removing the testicles (and reconstructing the penis, shortening the urethra and creating a cavity in the pelvis that will mistakenly be called a vagina) are the relatively young ones who were socially "transitioned" by their parents/guardians when they were small children and subjected to so-called "gender affirming" medical interventions ASAP in adolescence. Such as the unfortunate youngsters who've been paraded around in the public eye and shown off in the press, social media, on television and at rallies and legislative hearings as "poster children" for so-called "pediatric gender medicine" and "early transition" like Jazz Jennings, Kim Petras, Jackie Green and Trinity Neal - all of whom were turned into public figures and put on "puberty blockers" by their attention-seeking parents when they were still very young boys, then subjected to genital surgeries to permanently castrate them when they were still minors.