The examples in the question are neither in Genitive case,the genitive nor in Accusativethe accusative case. They are in athe lesser know Partitivepartitive case. Please see this excellent answer: What are the lesser known Russian cases?
Most nouns in Partitivethe partitive case have the same forms as in Genitive casethe genitive, but sometimes there isthere's a different form for Partitivethe partitive.
Here are some examples:
Чай / tea — Genitive: Нет чая; Accusative: Я люблю чай; Partitive: Налейте стакан чаю.
Сахар / sugar — Genitive: Нет сахара; Accusative: Я люблю сахар; Partitive: Насыпьте ложку сахару.
Воздух / air — Genitive: Без воздуха; Accusative: Мне нужен воздух; Partitive: Хочу хоть глоток воздуха.
Вода/ water — Genitive: Из воды; Accusative: Включите воду; Partitive: Плесните немного воды.
Горчица / mustard — Genitive: Нет горчицы; Accusative: Купите горчицу; Partitive: Возьмите ложку горчицы.
In such examples such as these, where in English one would say: "I want some water/some tea/some sugar/some peace/etc.", in Russian one would use Partitive casethe partitive.
UPDATE
Here are the words which have a form in Partitive case thatwhich the partitive is different from Genitivethe genitive: Русские существительные с разделительным падежом