SSRIs inhibit REM sleep in the beginning of th sleep, especillay if they are taken in the evening. Then, most of the time there is a REM sleep rebound in the last part of the sleep.
In patients with RBD vulnerability, this REM sleep "pressure" facilitate the occurence of RBD epsiodes.