Why are there dietary restrictions for someone prescribed an

Why are there dietary restrictions for someone prescribed an

Dietary restrictions
Please answer the above question please you tech terminology and professional articles,etc I need 2 references from outside sources.
These are the books we are using
American Psychiatric Association. (2013). Diagnostic and statistical manual of mental disorders: DSM-5. (5th Ed.). American Psychiatric Association.
American Psychological Association (2020). Publication manual of the American Psychological Association (7th ed.). American Psychological Association. https://doi.org/10.1037/0000165-000.
Stahl, S. (2021). Stahlâ€s essential psychopharmacology: Neuroscientific basis and practical application. 5th Ed. Cambridge University Press.
Stahl, S. (2021). The prescriber’s guide: Stahl’s essential psychopharmacology. 7th Ed. Cambridge University Press.
Stern, et al., (2018). Handbook of general hospital psychiatry (7th Ed.). Saunders