This happens for around 20-30% of all password autofills that I do. Sometimes it works by simply refreshing the page 5-6 times or even closing the tab and opening it up again.
My specs
Intel Core i9
Firefox
Windows 10 64 bit
32 GB RAM
RX6700
1GBPS Network, no VPN