Joseph Smith explains God created "the spirit of every beast" in answer to questions about visions in John's book of Revelation.
Section 77:2-3, Doctrine and Covenants, The Church of Jesus Christ of Latter-day Saints, accessed January 19, 2024
Q. What are we to understand by the four beasts, spoken of in the same verse?
A. They are figurative expressions, used by the Revelator, John, in describing heaven, the paradise of God, the happiness of man, and of beasts, and of creeping things, and of the fowls of the air; that which is spiritual being in the likeness of that which is temporal; and that which is temporal in the likeness of that which is spiritual; the spirit of man in the likeness of his person, as also the spirit of the beast, and every other creature which God has created.
3 Q. Are the four beasts limited to individual beasts, or do they represent classes or orders?
A. They are limited to four individual beasts, which were shown to John, to represent the glory of the classes of beings in their destined order or sphere of creation, in the enjoyment of their eternal felicity.