Advice needed

so recently me and this guy had been talking, and he was everything I thought he could be. he stated that he wanted things to go further with us. I thought it over and decided that i wanted the same. so every since then he's been acting very different kinda like he is trying to shut me out. at work he'd ignore me and treat me like im invisible. of course he didn't do that before. he would go all day ignoring me and then text me with one word responses but I didn't do anything. one night i got tired and said " if you don't care, stop wasting my time and leave me alone." he responded with " bye umm u doing too much ".... what do i do? because i started developing feelings for this guy and he practically pushed me away.