Bullsh!t.
If that were the case, the author would also question the parents closely about usage of safety belts and child safety seats when driving, usage of proper headgear when riding a bicycle or tricycle, the presence and accessibility of swimming pools in the neighborhood, the presence of unattended five-gallon buckets in the home, and so on... because a legitimate interest in safety involves all these things. They are all as dangerous or more dangerous to children than are guns.
The absence of such questions from the doctor's interview is, on the face of it, evidence that the gun question isn't driven by a concern for safety. And if I had to pick a choice for the reason why it's there, politics would be my top pick.
Doc, this isn’t about safety. Its a back door gun registry and you are a useful idiot.