The graph of the function is shown below:
From it we notice that the function is not differentiable at x=0 since the function is not smooth at that point.
Therefore, we can't apply Rolle's theorem because f is not differentiable in the open interval (a,b)