there is some "malware" that is not technically a virus.
Yes, but I wouldn't say "technically." Malware is MALicious softWARE.
There are several kind of malicious software besides viruses. Here's a
quote from Wikipedia, and note the last sentence in particular:
"Malware includes computer viruses, ransomware, worms, trojan horses,
rootkits, keyloggers, dialers, spyware, adware, malicious BHOs, rogue
security software, and other malicious programs; the majority of
active malware threats are usually worms or trojans rather than
viruses."
And let me add to the above that *technically* a virus doesn't have to
be malicious and is therefore not necessarily malware. The definition
of a virus is self-replicating software. Software can be
self-replicating without doing anything malicious, and in fact there
have been several demonstrations of non-malicious viruses. But of
course any virus that any of us is likely to run into with be
malicious and is therefore malware.