Why Citizenship Amendment Bill was necessary?

An interesting development is that people who have not even read the bill are criticizing it. Here is a talk by Subramanian Swamy explaining the terms and background of the bill: