Bloating can make your stomach feel hard. Excessive gas and inflammation are usually the most frequent causes.