This is how in brings better typography:

Slashed Zero (zero) adds a diagonal slash to the zero digit to make it more distinguishable from the capital O.

Fonts that have this feature includes IBM Plex Sans, Inter and Source Sans Pro. Try them with text like 0O and ZERO0.