Independent Bangladesh was secular, then how did it become an Islamic country? This person born in India had an important role

There are reports of violence against Hindus from Bangladesh. The situation is bad after Sheikh Hasina’s resignation and leaving the country. Bangladesh Hindu Buddhist Christian Unity Council claimed that between Monday and Tuesday, a large number of houses and businesses of Hindus were razed to the ground. Immediately after independence, Bangladesh was a secular country,