I put the tag Ball over my key;

But when it crashes it doesn’t activate the wall;

This is my code;
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class Wall : MonoBehaviour
{
//public GameObject wallActive;
private void OnCollisionEnter2D(Collision2D other)
{
if(other.gameObject.tag == "Ball")
{
Destroy(this.gameObject);
//wallActive.gameObject.SetActive(true);
}
}
}
I need a help.