Mostly, this comes down to compatibility. Generally speaking, fewer operating systems, apps, programs, and devices support the HEIC file format whereas JPG is near-universal.