Companies that get in trouble have a failure to see two realities: market trends and competitor attacks.