I live in Ohio and work in Kentucky. on my W2 I see that I paid both box 17 & 19. Why is it saying I owe Kentucky when I can see i am paying it?

If I live in Ohio but work in Kentucky do I have to file state taxes for both?