TCX is a fitness-specific format that plain GPS and map tools do not understand. KMZ bundles a map with its icons and images in one file. TCX is at home in workouts with laps, heart rate and cadence; KMZ is the usual choice for KML with its icons and overlay images in one file.
Every format is read into plain GeoJSON features and written out from there, so coordinates, names and properties carry over wherever the target has a place for them. XML that declares custom entities is refused, and TCX files are parsed without touching the network. Altitude and per-point timestamps are kept; a line with timestamps is written as a Google Earth track that can be played back. The KML is zipped as doc.kml, the name Google Earth expects.