What does it mean when a guy tells you that he likes you and you say you like someone else and he stops talking to you as much but he still flirts?

hey i think hes trying to get you back. be his friend but clarify that your not interested and want it how it was before!