Separate this problem and just make the buzzer work with some small example code. UNO, wokwi, ATTony85 whatever.
As I noted in #42, I needed to use an active buzzer.
The wokwi buzzer is an active buzzer, it does not work with digitalWrite(). It uses the tone() / noTone() functions.
I don't know why you could hear the buzzer in the wokwi if you were using digitalWrite():
90 seconds of googling turns up the idea that the ATTiny85 might not support the use of an active buzzer. It is possible a different "core" would help, I have no idea what that means. It is possible that the uses of the counter/timer peripherals which differ between the two processors is a problem.
If you can't get a simple sketch on the ATTiny85 to make a tone, then procure a passive buzzer, live with whatever frequency it produces and switch to digitWrite() for both turning on and turning off the sound it makes when presented with a HIGH on the output pin to which it is connect.
HTH
a7