We don't know what really gives until you tell us. It could be Apple music and iCloud. Do half your tracks have a cloud icon? It could be you are using a NAS and it is having a fit. It could be something else you just did but we have no idea what that was until you tell us.