Something funky is going on maybe with your selection. You can see you have a bottom vertex selected here:

See how at the opposite side the selected vertex is orange and the one circled in red, the vertex is black. That’s because it’s not selected, so maybe the knife tool is snapping into the wrong vertex and it’s getting confused. So maybe try doing the cuts in perspective view so you know for sure you’re targeting the top face. Don;t worry about the cuts being misaligned, you can straightened them after you cut.