Detection Help

I have a cube with the following script on it:

using UnityEngine;
using System.Collections;

public class IncreaseSpeed : MonoBehaviour {
	//public GameObject otherObj;
	
	public int speed;
	
	void OnTriggerEnter (Collider other){
		
		if(other.collider.tag == "Trigger01"){
			
			Debug.Log("We've touched");
			//otherObj.attachedRigidbody.AddForce(Vector3.up * speed)
	}
}
}

I have another cube that moves through it, and I’m simply trying to get the console to read “We’ve touched” as you can see in my script.

I’ve added a tag on the moving cube and name it “Trigger01”.

I don’t understand why I’m not getting the console to read “We’ve touched”

The code under Debug is irrelevant right now. I figure if I can get Debug here then I’ll get the code below it to work.

Any help is appreciated.

so trigger colliders
only detect collisions with other colliders that have a Rigidbody attached to them