Inheritance can violate Liskov if a subclass alters expected behavior, breaking substitution.
The Liskov Substitution Principle states that objects of a superclass should be replaceable with objects of a subclass without affecting the program. If a subclass changes core behavior of the superclass, like a 'Rectangle' subclass that changes 'calculateArea' to return a fixed value, it violates this principle.
Additional Notes
How can inheritance violate the Liskov Substitution Principle?