There are literally plenty of factors involved over it , since we all know that these Arabs are literally great businessman especially UAE is thought for his or her business friendly environment and it lures businessman to really invest in UAE.
Now encounter India , we all know that Indian economy is truly on booming stage. Everyday we've got new start-ups opening, we've almost around 101 unicorn companies in-fact we've Gautam Adani because the 3rd richest person within the world. So of these factors collectively make Indian economy on the correct path.
That is why you'll observe that plenty of Indians are literally investing in Dubai be it in trade relations, infrastructure building, property business and in more domains. Similarly UAE is extremely interested to speculate in India, as whole world knows about the market consumption of India . that's why we see Arabs have an interest in building airlines for India and also in other domains.
On the opposite hand Pakistan has nothing much to supply to any country, that's why we see minimal foreign investment in Pakistan moreover because of it's corrupt ecosystem and funding of terrorism , no businessman actually likes to take a position in Pakistan.
And as I usually say in geopolitics, every relations among nations are supported mutual relations and eventually Money plays a prominent role in it, that’s why we see UAE being more friendly to India than Pakistan, the Pakistan theory of Muslim nations closeness is really just a non-sense and zilch quite that.