Resonant behavior and fluctuating energy storage in coronal loops