my 2017 edge with the 2.0L engine would intermittently do this:
https://www.flickr.com/photos/jmschneid/52772338189
The hesitation and rough running is because of the vacuum leak created by the vapor/fuel separator valve being stuck open.
when it is making the noise, stop, leave engine running and check your fuel door.