Why does my boyfriend do this?

Sometimes during the night when we sleep, my boyfriend hugs me and kisses me on the forehead

Or if i have a nightmare, he would cuddle me

Why?
Why does my boyfriend do this?
Post Opinion