What causes allergic reactions to certain medications in some individuals?

What causes allergic reactions to certain medications in some individuals?