Complex sentence: Eustace's mishaps sometimes result from bad luck, but they're often consequences of his bad behavior.
Split into simpler sentences: Eustace's mishaps sometimes result from bad luck. But they're often consequences of his bad behavior.