People have government issued IDs if they own vehicles. Otherwise, people use whatever ID they can secure freely or cheaply (school ID, etc).
State IDs are not only expensive for some people, but they require that you have a whole other set of documents (birth certificate and such) that also cost money (and time) to procure if you don’t, for whatever reasons, already have them.
But all of that is entirely beside the point. These voter ID laws are simply a way to disenfranchise the poor and/or people of color whose enfranchisement works against the interests of White Supremacist Capitalist Heteropatriarchy (WSCH).
These voter ID laws are just the latest in a long historical effort to undermine the political power of certain populations, ESPECIALLY black Americans.
America is a deeply, deeply racist country. Every decision it makes, even in the election of a nonwhite president, is motivated by racism.