It’s a problem with the car’s electronics, but because it only happens intermittently it’s hard for the dealer to find the cause, and thus the fix. All you can do it is to persist with the dealer and hope the cause can be found.