The state cannot wave a magic wand and generate the water, food, and raw materials necessary for providing what you've defined as basic necessities. The state has to either pay for those resources, or force someone to give them to it. In a modern state, the state usually pays for goods by collecting taxes in the form of currency from its people. So, in order to provide its people with basic necessities, it must first take from them money to pay for the necessities. The basic argument against the government providing basic necessities for all, then, is that in order to do so they have to increase the tax burden on their population.
So, itWhether or not the state is justified in using its power to take taxes and spend them on basic necessities for all is a moral argument about what duty the people have to support others with their work, and whether the government should be the ones to execute that duty. Individualists would say that a person has no particular duty to help others in need, so the state should not force them to do so by proxy. There is also an argument that the same money that would be given to the state to provide necessities would be better spent on charities and other organizations dedicated to the goal, because they will better manage it, and because that money is being given freely rather than taxed.
This does not even attempt to address the issue of what "basic necessity" actually means. Even the simplest necessity, water, needs to meet a certain standard of cleanliness and get sanitized before it can be considered potable. Many parts of the world do not have the infrastructure required for sanitizing water and distributing it, so villages have to rely on natural rivers and wells, a standard which only worksis wildly different depending on a small scale. Even in the US, for example, it would be next to impossible forwhat area of the government to ship water to every citizen, including ones thatworld you live in, say, the middle of the Alaskan wilderness.