Why boys act this way

Anya
Why everytime after sex my boyfriend hugs me and he is very affectionist but when I leave his house he barely text me and he takes half an hour to reply