it's happen since Marshmallow update , yeah annoying AF. but it's better the nothing. it happend only when u install/update apps throw Google Play . if you install it outside the store it would update it on SD and not moved back to internal memory.
tip: use the app LInk2SD to see what apps