Non-contact forces show their effect only when one object is not in contact with another object.
Non-contact forces show their effect only when they are in contact with the object.
Non-contact forces work in both the cases, i.e., when there is a contact and when there is no contact between two objects. If we see the example of gravitational force, it acts on objects in the air as well as on the objects on the ground.