Generally, all assets/commodities will decrease in value when a recession happens. However, there are "inferior goods," i.e., lower quality goods that will perform better if consumers income declines.
IMO, Bitcoin is "normal goods." It will perform better when consumers income increases.
https://www.economicshelp.org/concepts/inferior-good/Yeah, there are some assets like Gold though that do well within a recession.