The fact that doctors generally don't ask about a patients diet says more about doctors than it does about the importance of what you eat. Diet has a huge influence on so many aspects of health and well being.
Doctors (the allopathic ones) spend hardly any time studying nutrition. So it’s more the system that doesn’t expose them to much. They also tend to believe the marketing they see on TV, magazines, etc.