Foxface was not aware that Nightlock Berries are poisonous. When she saw that Peeta was collecting them for himself and Katniss, she assumed that they were safe to eat, and died as a result.