GetKeyUp in OnTriggerStay sometimes execute twice

I found that in the OnTriggerStay code block, when a key pressed, the events were sometimes executed twice. Why?
private void OnTriggerStay(Collider other)
{
if (Input.GetKeyUp(KeyCode.E))
{
Debug.Log(“1”);
}
}

(It sometimes output “1” in the console twice…)

private void OnTriggerStay (Collider other)
{
if (Input.GetKeyUp(KeyCode.E))
{
Debug.Log(“1”);
}
}

sorry, the script wasn’t so clear…