Baby is being less active

So I’m 25.5 weeks pregnant and the last couple days I haven’t been able to eat a whole lot due to not feeling good, my baby has been less active the last couple days... could my lack of eating be the reason???