One of the side effects of Ritalin includes depression.

https://recoverypartnernetwork.com/drug/stimulants/methylphenidate-addiction