The bridge and the building around the bridge have layer=1. The layer-tag is only to stack things, default is 0. So OSM knows that bridge is above the road and does not cross it. In general there is no mistake here. BUT: If you want to go into 3D mapping of course you can specify that this bridge is building:part and that it starts on house-level 2 and all these details.