As long as it is the circuit breaker and not the ECO on the thermostat, then it is usually a problem with the elements. But since that would usually be a constant problem, and not every few weeks, one possibility is something internal to the upper element which would only operate when you used enough hot water to turn it on, which could be a rare occurance.