Human consciousness is an ongoing process that is produced by an inordinately complicated interplay of neurons and many chemicals and other things and factors...
But yeah, its a ... semi-reasonable simplification to say that the feeling of waking up with a partner you love, are physically and emotionally close to...
Yeah that basically is your body giving you a lot of oxytocin, that produces that kind of content/safe/never want to leave feeling.