A Loving and Jealous God

The Bible describes God as being both loving and jealous, but doesn’t that seem confusing? How can he be both? This puzzled me, too. Yet, when I went