~ば~ほど ('the more X, the more Y') here pairs with a comparative — より速くこすればこするほど. ~なってくる uses the auxiliary ~てくる to mark a change developing over time — 'comes to be warmer' rather than a static 'is warm.' A useful pairing that captures gradual physical change.