Of course histology matters. But the molecular information is also important since it can guide treatment and prognosis discussions in ways that just saying "lung cancer" can't.
Just to give the oncology side of the examples the author used:
Lung mass biopsy (assuming metastatic disease) - "small cell or non-small cell" is always the first question. If it's small cell, I'm done and will make my treatment decisions based on that alone. I will probably get NGS testing later, but it's not critical to starting treatment. If Non-small cell, is it squamous or not? If it's squamous, I'm going to wait on the PD-L1 to determine chemo/chemo-IO/IO. If it's non-squamous, I'm waiting for the NGS too, since EGFR and ALK mutations (among others) do better with targeted therapy than chemo.
Liver mass - In general, we don't typically biopsy slam dunk HCCs for pathology since we can usually diagnose them using clinical and radiographic characteristics. So in that case, yes, if I were getting a biopsy, it would be NGS. On the flip side, I can count on one hand the number of times in the last 12 years I've had a pathologist say "definitely a cholangiocarcinoma" rather than "poorly differentiated carcinoma with pancreaticobiliary features, clinical correlation required". So in that case, I get the NGS because there are a number of mutations and rearrangements that help nail down the histology and also help with treatment planning.
ETA: Sometimes I'm getting a biopsy of a cancer I already know about because I'm concerned about mutation induced drug resistance and the presence of secondary mutations (we see this not uncommonly in met breast (ESR1 and PI3k/PTEN/AKT axis mutations), EGFR mutated lung (T790M and secondary MET mutations) and GIST (KIT and PDGFRa mutations). In those cases, I really don't care about the histology, because you already told me what it was, I really do just need the NGS panel.