This I frequently repeat: your camera’s light meter assumes you are pointing it at a grey subject – grey in terms of brightness. The moment you point at a predominantly light or dark subject, you need to tell the camera that. By using “exposure compensation” (the +/1 control) if you are in an automatic mode, or by setting the meter to “not zero” when shooting manual.
Like in this shot of a car I bought for my son:
To get the black car I needed to set exposure to minus 1 stop (-1). Else the car would have looked grey, not black.