Because 'have a relation to' is a vague, generally non-native, phrase that does not apply here. A better one (but still not as appropriate) is 'have a (strong) effect on'.
New words, one handy idiom, and a 2-minute quiz — delivered to your inbox to keep your streak alive.