They probably said that out of anger, stress, and or anxiety. Subconsciously, no one ever really wishes someone else would die. But, sometimes our brains trick us into thinking we want someone else to cease to exist. But, somewhere hiding in the back of our brains, our wish isn't really true. Don't take it personal. That person is probably just very angry.