Why do guys do this??!

WHY does the guy i’ve been going out with act so lovey-dovey and infatuated with me in person and then actually never answer my texts?

When we are together he says the sweetest things and acts so caring but then as soon as we say bye and a text is sent he goes silent.

Why is this happening!!