It could be the wormer. Did he have worms or did your vet just worm him for precautionary measures? How long have you had him? It may be just everything new, shots, medication, etc. I would just keep a watch on him. Are you familiar with bloat? This is very common in Great Danes.
If my answer was helpful please click the green accept button My answer should not take the place of a Vet's diagnosis when needed. Positive feedback is most welcome and a bonus-though not required-is greatly appreciated no matter how small.