Assalamu Alaikum
According to our prophet sallallahi alaihi wasallaam dreams come from::
1. Shaytaan (these are bad dreams, seek refuge in Allah from them!)
2. Our own nafs (from our thoughts/desires)
3. From Allaah (blessings..)
hope that helps !
Assalamu Alaikum