Yes, sometimes people do die while trekking to Everest Base Camp. It's all because of negligence or unavoidable accidents. It rarely happens, still, you have to be careful while trekking, be well prepared, and know about all the difficulties the journey holds.