A house is something you own. It can appreciate or depreciate, but it does not generate value. You might get lucky and realize a capital gain by selling it after it appreciates (if it appreciates and you can time the sale correctly), but it does not create value.
An investment is ownership of something that generates value.
All investments are assets, but not all assets are investments.