My MacBook Pro from late 2017 does the same thing from time to time. I've not been able to figure out a fix.