Beam placed on two lateral supports.
The vertical load induces compression in the upper layer of the beam and tension in the lower layer.
The steel rebar is thus placed in the lower layer,
but it can take over the tensile forces only after the concrete has cracked (micro-cracks!).