Is Mocking Competition Bad Marketing?

Is mocking competition really considered as bad marketing? When is mocking not good marketing? When does it cross the ethical border?