String squeal is different from string buzz. As you describe it sounds like squeal.
I also play acoustic. Same first four apply to acoustic string squeal as well. Common sense really.
Tension too (gauge) comes into it affecting the fretting pressure differential during apply/release/slide move. Do use string lube, and do back off the pressure more during the slide move along the neck to minimise it if you can't eliminate it audibly entirely. Acoustic takes practise to finesse and develop the necessary technique because of the generally increased fretting pressure required on them due to higher action, thicker string gauge and the fact they are designed to 'amplify' string vibrations acoustically.
Same as previously iterated for strings buzzing be it electric or acoustic. Causes are the same. i.e. action contingent to nut slots, relief, saddle height, frets being level.