It is typically assumed that loads are applied to the joints of the truss, not directly to the members. Because of this, the members only carry axial forces - they do not carry bending moments.