Pill causing depression

Is it possible that the pill can make you feel drained and a little depressed?