Why is the object in the genitive case and not the accusative?
Because "lubić" takes Accusative, but it's negated here.
Ah yes, the good old negation. It got me again.