The difference isn't who does the testing — it's whether the test cases are derived from what the software should do, or from how the software is actually built inside.
ISTQB classifies test design techniques by what information the tester uses to derive test cases, and that classification matters because each approach is structurally blind to a different category of defect. Black-box testing derives test cases purely from external specifications — requirements, use cases, input/output behavior — with zero knowledge of the internal code structure; it tests what the system does. White-box testing (also called structural or glass-box testing) derives test cases from the internal code structure itself — statements, branches, decision paths — specifically to exercise logic paths a black-box approach might never think to try; it tests how the system is built. Both are necessary because each is designed to catch exactly the kind of bug the other one structurally cannot see.
Black-box testing can never detect a requirement that was silently dropped — if the spec calls for a discount calculation and the developer simply never implemented it, and nothing in the visible output happens to reveal that absence for the specific inputs tested, black-box testing derived purely from the spec's expected behavior can still pass. White-box testing, conversely, can achieve 100% statement or branch coverage of the code that exists while completely missing that same dropped requirement, because there is no code path to exercise for a feature that was never written — coverage metrics can only measure code that exists, not code that should exist but doesn't. This is the structural reason ISTQB-aligned test strategies specify both categories rather than treating high coverage in one as sufficient: black-box protects against a system that does the wrong thing or is missing something the spec required; white-box protects against implemented logic paths — often edge cases, exception handlers, or rarely-triggered branches — that no black-box input happened to reach.
Code coverage measures how much of the existing code was exercised, not whether the software correctly implements everything it is supposed to do. A function can achieve 100% statement and branch coverage while still returning a subtly wrong calculated value on every single test — coverage tells you the lines ran, not that their output was checked against the correct expected result, and it says nothing whatsoever about functionality that was never coded in the first place. ISTQB material is explicit that coverage percentages are a measure of test thoroughness against the code's structure, not a proxy for overall quality or correctness — which is exactly why a mature test strategy always pairs white-box structural coverage with black-box, requirements-derived test cases (and often a third category, experience-based techniques like exploratory testing and error guessing, which rely on tester intuition rather than either the spec or the code).