Although the exact origin of panic attacks is unknown, but there are important elements to it which have been found to be important including heredity, psychological issues, extreme stress, or having a susceptibility to stress. The difference between predicted and unexpected panic attacks is that the former usually have a known cause, such as crowds, flying, or exams, while the latter can appear to occur for no apparent reason. So usually it happens with a trigger, but it can also happen without one.