just not in the mood? or not attractive?

so ive been with my boyfriend for 2 years and for about 2 months we havnt been having sex as much and its just because i havnt been wanting to and im not to sure why can it be that im not sexually attractive to him anymore or maybe my harmones changed?