weed dreaming

I quit smoking weed 2 months ago when I found out I was pregnant. ever since I quit I've had constant dreams of smoking weed and buying weed . does anyone knows why this happens? ( I couldn't find a group to put this in so if you have any suggestions which is the right group just comment )