Hello
The piles or hemorrhoids is a dilation of rectal veins ( three veins at the position of 3 , 7 11 o'clock as in watch) in anus ( around anal opening) .
When patient have any pressure over these veins they swells up ( dilate and this is known as piles ) .
Blood comes if rupture occurs in these dilated veins .
More
constipation , more pressure over these veins , more bulging .
Milk or tea don't develops such type of hemorrhoids or piles .
Any product which produces constipation causes more pain and discomfort in piles .
Gas formation in abdomen is due to fried food, oily food , over eating , junk foods. '
In my opinion consult a physician / surgeon and get his opinion .
Surgery and conservative , both treatment are effective in piles.
Good luck.