What did a guy who confessed suddenly stop texting?

a guy from my class confessed to me that he likes me. he just informed but did not purpose or anything. I told him I like him too and we talked for a bit and decided to be friends. After that day he didn't text me. he only texts when necessary but not like before. before he used to put on stories and stuff yk and reply excessively to mine. but now, not soo much. I think chances are, he lost interest. please provide me a guide on how to get him to like me again...

Updates
+1 y
guys here's what happened. both he and I were talking about how illogical a relationship is at our age ( we're 17). and he and I haven't talked much, before he confessed. so he's basically the one who suggested that we be friends and I agreed.
What did a guy who confessed suddenly stop texting?
Post Opinion