[eNotes space and policy limits the number of answers we give.]
1. I had some cold water because I was hot.
2. I didn't get any packets of spaghetti.
3. Please bring some tins of tomatoes.
A determiner modifies the meaning of the noun in the sentence (the water). To say that you had 'every' water would mean you had drank all the water in the world! This is also the reason 'every' is used in sentence number 6. This sentence suggests you have bought a specific number of tins of soup; all of them in the shop. You could say 'We bought some tins of soup' but then you would have to change 'tin' to 'tins'.
In sentence 2 'any' is used, again because it is a determiner and 'any' is usually used to refer to the negative. This sentence begins 'I didn't', which is negative. You wouldn't say 'I didn't get some packets of spaghetti' because 'some' is used to refer to a specific quantity. We know that you don't have any quantity because of the word 'didn't'.
Following on from this, 'some' is used in sentence three because 'please bring' and 'tins' suggest a specific quantity.
See the link below for some more information on determiners.