There is no rule, but there is a reason. The prefix "dys-" is from Greek and means "bad". The word "dysfunction(al)" arose in the field of medicine, which tends to take its terms from Greek.
New words, one handy idiom, and a 2-minute quiz — delivered to your inbox to keep your streak alive.