"... compra algo de leche ... "
= buy some milk
why does there have to be "de" ?
Compare it with "a lot of" only as the opposite. With "a lot of" you don't ask yourself what the "of" does here. It is just idiomatic, no explanation, you have to learn the combination.