they swear in the name of allah in order to please you. but it is more just that they should please allah and his messenger if they are believers.
يحلفون بالله لكم ليرضوكم والله ورسوله أحق أن يرضوه إن كانوا مؤمنين