how they open depends on the event commands you used to animate them - if something doesn't look as intended, something is wrong in the event commands.
Please show screenshots of the event pages, then we can tell you how to fix the problem.
The animation is done by move route, and it is only intended to go in one direction because that event usually transfers you to the next map.
You need to change those events to first detect the direction from which the player is coming (conditional branch: player is facing XY), and then give a different sequence of turn commands ot the sprite.
Check how the door sprites use the different sprite direction for different stages of the animation, and then check the order of the turn commands (each switching the door sprite to another part of the sequence) in the move route commands. You need to reorder them, and then to reset them (if the event remains through on, it will always be passable later and never close again - is that what you want?
Well I just removed the movement command and setup 4 event pages with the 4 door animation tiles now it works the way I want, but thanks for your input tho.