NVIDIA's ecosystem succeeded partly because CUDA is the only serious option developers had no choice but to invest in it, so the tooling matured around a single stack. AMD is in a harder position: it has to win developers who already have a working setup on NVIDIA hardware, which means the barrier to switching can't be a 10GB install, tight versioning, and a compatibility matrix you have to maintain separately.
ROCm is mature and vendor-backed, and that matters. But for teams running edge inference, CI pipelines, or air-gapped environments or anyone who just wants to run an existing CUDA binary on AMD hardware the full ecosystem is more than the job requires. That overhead is exactly the kind of friction that keeps developers on NVIDIA even when AMD hardware is cheaper or more available.