The economy that you said in a recession might depend on the country and economy that you meant. I don't think bitcoin price depends solely on the economic condition because if it does it could have become zero as some countries have been in recession for up to five years now.
In other words, just like stocks, bitcoin is not the economy. Bitcoin (and stocks) can go up and down freely based on supply and demand. Sometimes there are too much supply and so little demand so bitcoin starts to go down, sometimes it is the other way around. There are always big whales that want to manipulate the markets. Their main goal is to make money of course. These people don't care about the economic downturns.