Can anyone explain

I’ve been with my partner for nearly 6 years and For the last week or two I can’t stand him, can’t be anywhere near him without feeling irritated he’s just getting on my nerves I don’t know why but I don’t feel attracted to him anymore -.- I hate this... but I think he’s treated me so shit for so long that only now Im feeling this