Unfortunately he is suffering from ascites and exophthalmia. Check water parameters. You could try treating him in a hospital tank with an antibiotic but recovery is very slim. It's more a matter of days rather as weeks before he expires. Also your substrate isn't suited for loaches...