That's a tough call. I'd want to know the reason because I'm an over-thinker, but at the same time, I wouldn't continue to be friends with someone who would do that anyway. Even if I had done something and not realised it - I'm too old, jaded & frankly too busy to waste time being friends with someone who won't be direct. "Silent treatment" is nonsense, child/teen stuff and any adult who hasn't moved on from that mindset by 25+ isn't worth bothering with, with friends, relationships, or even family members.
... In my opinion

.