For the condition to truly be bloat and not weight gain, your dog's stomach will be swollen and hard or have an unusual shape. If you notice this, call your veterinarian immediately. If it's after hours, you should take him to the emergency vet. Bloat generally occurs when food or gas stretches the dog's stomach.
More useful articles on a similar topic 👇
Can heartworms cause stomach problems in dogs?What causes a dog's abdomen to swell?