My stomach hurts only when I drink milk but I can have other products without any issue why is that?

Milk high lactose. Even among mild products. Actual milk has the highest lactose content so many people are most sensitive to the actual drink. You can test it by taking lactase first or change to lactaid/soy milk.