what does it mean ?

the other night i had a dream involving me and my best friend who is a guy. now the dream states off normal,he and i were just talking in my room. he was sitting on my bed and i was standing right in front of him. we were having a good time just talking and laughing when all of a sudden he grabs me by my waist and pulls me in for a kiss. then for some reason i kissed him back. it’s weird for me tho bc he used to have a crush on me and i never liked him like that and i still don’t see him in that way and i don’t want to bc he’s such a great friend i wouldn’t wanna lose our friendship. but like i said i don’t like him like that so why’d i have this dream ?