The bottle is unopened.
How do you know the engine is on? Even if it is, it’s not illegal to have an unopened bottle in a car, even if you’re under age, at least if there’s a legal-aged person also in the car. (State laws might vary on this.)
Look at the dashboard in the photograph. The digital display is on.
It is against the law for Minor In Possession of alcohol in Michigan especially when operating a motor vehicle.
You can see - clearly enough - that the tachometer needle is certainly not in the "0" RPM position by the angle...the actual position is obscured by the cropping of the image. I would guess that it is somewhere between 1000 and 1500 RPM, which would probably be idling speed.
It is the indicator to the far left.
Judging by the speedometer, the vehicle was not in motion in the first photograph. However, other lights on the dash indicate that the key was in the ignition (possibly in the “acc” position).