Ice that has a weird taste or ice cubes that come out too small could be caused by the water line, or food odors from your freezer being absorbed by the ice.
Check your water line and look for any kinks, bulges or damage. If you see any, you’ll need a replacement.
If possible, try to use a copper water line. Some materials could interact with the water, giving it an unpleasant taste.
Store food in airtight containers and wrap tightly in plastic to avoid any odor transfer.