When a weak electromagnet is placed near a small permanent magnet, both poles of the permanent magnet can be attracted to the same side of the electromagnet due to the interaction with the electromagnet's iron core. The stronger permanent magnet may induce its own magnetic field in the iron core, leading to this behavior even when the electromagnet is weak. This phenomenon suggests that the electromagnet's effectiveness is influenced by the strength of the permanent magnet. Additionally, there is curiosity about the possibility of creating an electromagnet with a non-ferrous core while still achieving a defined magnetic field and reasonable strength. Overall, the discussion highlights the complexities of magnetic interactions between electromagnets and permanent magnets.