If you have a very long electrically neutral current-carrying wire, the moving charges inside it will generate a magnetic field.
But what if you have a charged wire that’s not carrying any current? Well, obviously you’ll have an electric field but no magnetic field. But let’s further say you’re in an airplane flying parallel to that wire. In your reference frame, you see charges moving in the direction opposite to your line of travel. This means there ought to be a magnetic field in your reference frame.
What? How can there be a field in one frame but not in another? Do you even get consistent predictions for what happens to a charged particle in each reference frame?
Those are not easy questions, but they are important ones. The answers lead to the development of special relativity by Einstein. The short answer is that electric and magnetic fields are the same thing, transfered into a different frame of reference.
So if you think you’ve found something weird and inconsistent in physics or any other science, think about it some more. You’ll either find that you’re missing something which will lead you to a deeper understanding of what’s already known, or you might even discover that the solution to the problem is an entirely new and beautiful idea.