It's an investment. You buy bitcoin because you believe you'll get a certain amount of value back when you sell or exchange it.
There is no "pure" store of value. All investments, including gold, all currencies, art, baseball collectibles, even food change their value over time. When people mean "store of value" they mean something that appreciates more than the commodity they exchange it for.