That shows how underdeveloped India is.
For Apple's online store to work, you need good infrastructures across the entire country, such as broadband internet, fast, reliable and cost-effective domestic shipping that covers the entire country. You will also need good channels for online fraud prevention, which is a big problem in India not just domestically. Scammers from India are literally scamming the world.
For the online store to be successful, you need a ready market. The mass population should be at least pretty much all literate, and digitally literate, which India doesn't have. There should be a significant middle and upper class measured in the American purchasing power standard, not PPP because Apple products have globally standard pricing, at least before tax. Apple products will not be cheaper in India than in the US in FX dollars, so the nominal dollar, in this case, equals PPP-adjusted dollar.
Most of the people that meet the above criteria are located in the rich part of India, aka., the affluent half of the big cities, which already have physical retail channels.
For physical Apple Stores to work in India, currently India has none, there must be urban clusters in India that will buy the upper-end of the premium device lineups, such as Mac Pro, iPad Pro, Thunderbolt display (with the stand), AirPods Pro, etc. Products like the entry-level basic iPad, iPhone SE, MacBook Air without retina display, etc. will not generate enough profit for Apple to operate physical Apple Stores, which are expensive to keep.