Bloating usually subsides as your body digests food, while additional body fat gain persists over time.
When the bloating goes down you will not notice that your weight is lower. If you lose body fat, you should see your weight fall.
However, bloating often occurs with recent weight gain, and it's common in people with obesity, so they may happen together.