I got a passport in 2005. They didn’t ask for medical records, and I wouldn’t have given them any.
It’s probably just an “option” right now.
The government has access to your medical records. It is part of HIPAA.