On the origin of X-ray oxygen emission lines in obscured AGN