Core component of SQL Server for storing, processing, and securing data
SQL Server appends the clustering key to non-unique nonclustered indexes to make them internally unique. This is documented, well-established behavior.
Since date_from is already a key column in both indexes, only the missing PK column id_1 is appended which is why one extra value appears, not two.
Therefore 512479 and 512501 are id_1 values, and both collisions reduce to a duplicate (id_1, date_from) which is also your PK.