LeslieJay It seems to me that one of the children might be right. Take their side. Then if the other wants favoritism, they have learned it can be had by behaving correctly.
If both are wrong, it's just noise. Hit them.
If both arguments have merit, good luck.