Most common reasons will be either indigestion or fever To know to be sure physical examination is needed by vet
If possible book an home visit by vet in the app
These symptoms can happen with any disease, unless there are very specific symptoms it's difficult to say what's causing it. It could be just the hot weather but to be sure a physical checkup would be necessary to make sure everything else is ok. Please get him checked.