Apple Mac machines support a different file system.
That’s all because it’s been initialized with Windows NT File System (NTFS), which is primarily for PCs. But somehow, macOS doesn’t allow you to write data to the drive.
So, you just bought a new external hard drive or a portable SSD and wanted to use it on your Mac.