You can't blame that on the people who wrote the US Constitution, which constitutes the basic law of government in the US. Reading it reveals no distinction between citizens and non-citizens. It relies heavily on the idea of natural rights. It is addressed to the government, not the people. That is, it assumes the people have all the rights, and it carves out a space in which the government is allowed to operate. It is remarkably future-proof. If you hear someone say "They didn't have computers" or similar horseshit you can bet heavily that they are an enemy of freedom.
If only we actually obeyed it.