PersonX fires PersonY on the spot
HinderedyBy introduces hindrances that obstruct the natural path to the achievement of a goal.
Person Y's work performance and attendance are excellent so there is no reason for it.