Rights vs Privileges

Why is Government confused about Rights vs Privileges? any type of Licensing/Permit is a privilege, since it required someone/some or gov’t to granted you the privilege. Rights are innated, god giving, etc. Right does NOT required license/permit/permission to be granted by anyone especially the Gov’t.
Why is that most state required a permit/license to carry/purchase firearm? Which part of “the right of the people to keep and bear Arms, shall not be infringed.” that the State gov’t does NOT understand?