Since you're bringing Hinduism in this talk my theory about deities is that they are very local. See for instance the Egyptian, Sumerian, Greek, Indian... gods. Each city had its dominant one.
As social unification progresses, syncretism kicks in and pantheons start forming. Intermingling legends in whole mythologies.
Monotheism is nothing more than the success of one people supporting one deity over the other ones.