Is there a lore reason behind lycanthropes having defined alignments?

What about magical items for animal companions?

Does a magical creature attacks count as magical?