What is running through the window sill?
How many stories and what is the construction type of the building?
It appears to meet code but frowned upon here, puts the AHJ making a determination on possible "physical damage?" In this case it is tucked in a corner and does not appear to be subject to physical damage, IMO.
Does the NM romex continue up the wall through a suspended ceiling? If so...see 334.12
It then goes up into a suspended ceiling where it runs 20' to a panelboard in another room.