To add to Dave’s answer .
Via clocking block the TB samples and drives with respect to a clocking event relative to input and output skews
whereas via modport the DUT may drive / sample the modport signals either synchronously or asynchronously .