Lost

Why is she having all of this flashbacks did something happen or is she just crazy read to find out?