my s/o is ignoring me

he got angry at me for no reason and i asked him several times whats wrong but he wouldnt give me an answer. hes been ignoring me for over a week now. is it safe to assume we're done?

+ hes done exact same thing a month abit ago i was actively contacting him before, turns out he was really stressed and depressed with no motivation. but now i see it reoccurring i dont know how to deal with this.