The only way gold can “disappear” from your account is when it has somehow been spent. Usually, this is just due to the curiosity of a friend or family member. They could be playing on your device without you knowing. The game cannot use or spend gold on its own, purchases must be requested by the user.
In order to prevent these instances from happening in the future, please remember to lock your screen after playing.