object animation / keyframe moving wrong object?
Ok, I'll write an answer so to be able to attach images and files.

As I wrote in the comments above, I tried your file and it just is wrongly keyframed, it has no other weird problems, to me.

What you have to do is reset the keyframes for the two sliding doors, and I'll show you how, below.

Your file hase several shapes, so I created a new empty blender file, and then just imported (appended) the three relevant objects from your file (cube.003, cube.004, cube.005), and since also their existing keyframes were imported, I use this as a starting point to reset animation for the sliding doors, as desired. But you should be able to use your file (I tried and it works also there).

This is what I imported (appended) from your file: there is a keyframe for the left door but is moving in the wrong direction (it goes to the right)



To restart from scratch, first I've deleted all existing keyframes for the door setup:



Then, at frame 1 I selected both doors, and inserted a keyframe there, for the starting position



This is what you get after (I also moved to frame 21)



Then I selected the left door and moved it X -2



And moved the right door to X +2



This is the desired final position, at the frame 21 so, let's add a keyframe for both selected doors:



The result is shown in the f-curve editor:



I'll add the file here for your reference:


Let me know if there something that needs to be explained more.