There was a breakdown of central authority in this part of India at this time (c.700 CE on), which allowed for the development of diverse local cults, including as Tantric cults.
Eventually (11th century CE), Tantra had spread through much of India, including much of Hinduism, Buddhism, and Jainism.
By that time, Buddhism had become the common religion in Tibet. And with Buddhism came Tantra…