abs(x) is convex, and -abs(y) is concave. Therefore, abs(x) - abs(y) is neither convex nor concave; therefore can not be handled as is by CVX.
To reformulate for CVX, binary variables must be introduced to “linearize” abs(x) using Big M. You can look up on the internet how to do that. The result will be an MIDCP, presuming CVX’s other rules are followed.
You can leave -abs(y) as is in this example, because it is concave, and therefore can be maximized, and still will be so when the linearization of abs(x) is included.
Just as a reminder, this is the CVX forum. CVXPY is a different product.
YALMIP (under MATLAB) will automcatcally do Big M for you, including for non-convex occurrence of abs.CVX makes you do all your Big M modeling manually.