This is due to setting post undo action window time
post undo action window time
You can not revoke the like after the time set in this setting